//
//  LevelMgrLayer.h
//  ProjectLila
//
//  Created by Tedo on 7/11/10.
//  Copyright 2010 sushigames. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

typedef enum {
	START,
	INTRO,
	BREAK,
	WAVE,
	OUTRO
} LevelState;

@interface LevelMgrLayer : CCLayer {
	LevelState state;
	int waveCount;
	NSArray *levelInfo;
	
	CCLabel *titleLabel;
}

+ (id) nodeWithLevel:(NSString *)levelName;
- (void) setTitle:(id)sender data:(NSString *)text;
- (void) setState:(id)sender data:(LevelState)text;
- (void) toggleTitleVisibility;
- (void) launchNextWave;
- (void) exitLevel;

@property LevelState state;
@property int waveCount;
@property (nonatomic, retain) NSArray *levelInfo;
@property (nonatomic, retain) CCLabel *titleLabel;

@end
